﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using TCDL.DAO;
using System.Data.SqlClient;
using TCDL.BUS;
using TCDL.GLOBAL;

namespace TCDL
{
    public partial class frmQuanLyGa : Form
    {
        public frmQuanLyGa()
        {
            InitializeComponent();
        }

        private void btnThemLenLich_Click(object sender, EventArgs e)
        {
            int iCount = 2;
            gConnect[] gCon = new gConnect[iCount];
            gCon[0] = new gConnect("@TenGa", txtTenGa.Text);
            gCon[1] = new gConnect("@DiaChi", txtDiaChi.Text);
            
            XemDSBUS ds = new XemDSBUS();
            ds.ThemDS("sp_ThemGa", gCon, iCount);
        }

        private void btnXoa_Click(object sender, EventArgs e)
        {
        }
    }
}